package com.tjnu.losca.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author losca
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Studentbygrade extends BasePojo {

    private static final long serialVersionUID = 1L;

    /**
     * 班级学生姓名
     */
    private String name;

    /**
     * 班级学生邮箱
     */
    private String email;

    /**
     * 班级学生性别
     */
    private String sex;

    /**
     * 班级学生生日
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date birth;

    /**
     * 所在班级id
     */
    @TableField("gradeId")
    private Integer gradeId;


}
